<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>计算器布局</title>
	<style type="text/css">
	    body{
	    	background:#FF7C87;
	    }
	    .box{
	    	width:500px;height: 500px;background: #9CD2EB;margin:0 auto;
	    }
         

        .box li{
         	list-style: none;width:50px;height:30px;padding:30px;float: left;background: #fff;
         	margin:5px;text-align:center;line-height: 30px;
        }

        .box .show{
            width:290px;background: #7AA7BB;text-align:right;
        }
        .box .clear{
        	background:#FF7C87;
        }

        .box .result{
        	background:#F2FF93; 
        }

	</style>
</head>
<body>
    <ul class="box">
    	<li class="list clear">c</li>
    	<li class="list show">2323434</li>
    	<li class="list">7</li>
    	<li class="list">8</li>
    	<li class="list">9</li>
    	<li class="list">+</li>
    	<li class="list">4</li>
    	<li class="list">5</li>
    	<li class="list">6</li>
    	<li class="list">-</li>
    	<li class="list">1</li>
    	<li class="list">2</li>
    	<li class="list">3</li>
    	<li class="list">%</li>
    	<li class="list">0</li>
    	<li class="list">.</li>
    	<li class="list result">=</li>
    	<li class="list">*</li>
    </ul>
  


	
</body>
</html>